package com.congee02.autocrud.exception.service;


import com.congee02.autocrud.exception.CustomExceptionId;
import com.congee02.autocrud.exception.RuntimeExceptionWithId;

public class SpecificIdEntityNotExistException extends RuntimeExceptionWithId {
    public SpecificIdEntityNotExistException(Class clazz, Long id) {
        super("Can't not find entity \"" + clazz.getName() + "\" with id " + id + " in the corresponding datasource table.",
                CustomExceptionId.SPECIFIC_ID_ENTITY_NOT_EXIST);
    }
}
